set(app_main_files
	"AppFactory.cpp"
	"AppFactory.h"
	"AppFactory.inl"
	"BaseApp.cpp"
	"BaseApp.h"
	"ReadMe.txt"
	"SimpleApp.cpp"
	"SimpleApp.h"
	"targetver.h"
)

set(app_window_files
	"Window.cpp"
	"Window.h"
	"Window.inl"
	"WindowImpl.h"
	"WindowImpl.inl"
)

set(app_bindings_files
	"DefaultBindings.h"
)

if(MSVC)
	set(app_bindings_files
		${app_bindings_files}
		"win32/DefaultBindings_win32.h"
	)
elseif(UNIX)
	set(app_bindings_files
		${app_bindings_files}
		"unix/DefaultBindings_unix.h"
	)
endif()


set(app_all_files
	${common_misc_files}
	${app_main_files}
	${app_window_files}
	${app_bindings_files}
)

add_library (app ${app_all_files}) 
add_libs_target(app)

source_group(main FILES ${app_main_files})
source_group(window FILES ${app_window_files})
source_group(bindings FILES ${app_bindings_files})

add_common_properties(app)